package com.qf.shopping.controll;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @Auther: xiaobobo
 * @Date: 2019/2/21 10:50
 * @Description:
 */
@Controller
public class UserControll {

    @GetMapping("save")
    @ResponseBody
    public String save(){

        return "I am xiaobob  And you?";
    }

    @RequestMapping("findAll")
    @ResponseBody
    public Object findAll(){
        return "我是小波波";
    }

}
